/* ---- 轮播图 ---- */
main div.slider {
    position: relative;
    width: 100%;
    height: 360px;
    text-align: center;
    border-radius: 16px;
    overflow: hidden;
}

main div.slider input[name="slider-r"] {
    display: none;
}

main div.slider input[name="slider-r"]:checked + label {
    width: 48px;
    background: #fff;
    transition: .24s;
}

main div.slider input#slider-r1:checked ~ ul {
    transform: translateX(0);
}

main div.slider input#slider-r2:checked ~ ul {
    transform: translateX(-20%);
}

main div.slider input#slider-r3:checked ~ ul {
    transform: translateX(-40%);
}

main div.slider input#slider-r4:checked ~ ul {
    transform: translateX(-60%);
}

main div.slider label[for^="slider-r"] {
    position: absolute;
    bottom: 24px;
    z-index: 999;
    width: 12px;
    height: 12px;
    border-radius: 6px;
    background: rgba(255, 255, 255, .64);
    cursor: pointer;
    transition: .48s;
}

main div.slider label[for="slider-r1"] {
    left: 44%;
    transform: translateX(-50%);
}

main div.slider label[for="slider-r2"] {
    left: 48%;
    transform: translateX(-50%);
}

main div.slider label[for="slider-r3"] {
    left: 52%;
    transform: translateX(-50%);
}

main div.slider label[for="slider-r4"] {
    left: 56%;
    transform: translateX(-50%);
}

main div.slider ul {
    display: flex;
    width: 500%;
    height: 100%;
    transition: .48s;
}

main div.slider ul li {
    width: 100%;
    height: 100%;
    font-size: 4em;
    padding-top: 120px;
    transition: all .24s;
}

main div.slider ul li img {
    transform: translateY(-64%);
    width: 100%;
}

main div.slider ul li:nth-child(2) {
    background: skyblue;
}

main div.slider ul li:nth-child(3) {
    background: plum;
}

main div.slider ul li:nth-child(4) {
    background: tan;
}

main div.slider ul li:nth-child(5) {
    background: tomato;
}


/* ---- 透明度可视化表 ---- */
main div.stats {
    display: flex;
    margin-top: 48px;
}

main div.stats div.stats-head {
    padding-right: 24px;
    width: 40%;
}

main div.stats div.stats-head::before {
    position: absolute;
    content: "";
    width: 64px;
    height: 8px;
    background: #009e3d;
}

main div.stats div.stats-head h1 {
    padding: 16px 0 24px;
    color: #009e3d;
}

main div.stats div.stats-head p {
    padding-bottom: 48px;
    line-height: 32px;
    transition: all .48s;
}

main div.stats div.stats-head a.stats-btn {
    display: flex;
    position: relative;
    justify-content: center;
    padding-left: 24px;
    width: 176px;
    height: 48px;
    line-height: 48px;
    font-weight: 600;
    color: #009e3d;
    border-radius: 24px;
    background: #C2E8D0;
    overflow: hidden;
}

main div.stats div.stats-head a.stats-btn:hover {
    color: #fff;
    background: #009e3d;
    box-shadow: 0 16px 48px -8px rgba(0, 158, 61, .48);
}

main div.stats div.stats-head a.stats-btn:hover div.stats-btn-icon {
    transform: translateY(-50%);
    transition: .24s;
}

main div.stats div.stats-head a.stats-btn:hover div.stats-btn-icon img {
    opacity: 0;
    transition: .64s;
}

main div.stats div.stats-head a.stats-btn:hover div.stats-btn-icon img:last-child {
    opacity: 1;
}

main div.stats div.stats-head a.stats-btn div.stats-btn-icon {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 0;
    left: 24px;
}

main div.stats div.stats-head a.stats-btn div.stats-btn-icon img {
    margin: 8px 0;
    width: 32px;
    height: 32px;
    opacity: 1;
}

main div.stats div.stats-head a.stats-btn div.stats-btn-icon img:last-child {
    opacity: 0;
}

main div.stats div.stats-data {
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    width: 60%;
}

main div.stats div.stats-data div.data {
    margin: 0 0 0 24px;
    padding: 24px 0 48px;
    text-align: center;
    width: 40%;
    border-bottom: solid 1px #ddd;
}

main div.stats div.stats-data div.data:hover {
    border: none;
    background: #fff;
    box-shadow: 0 8px 48px rgba(0, 0, 0, 0.16);
}

main div.stats div.stats-data div.data:hover > img {
    transform: translateY(24%);
    transition: .24s;
}

main div.stats div.stats-data div.data:hover > h3 {
    transform: translateY(-8%);
    transition: .24s;
}

main div.stats div.stats-data div.data img {
    width: 64px;
}

main div.stats div.stats-data div.data span {
    display: inline-block;
    padding-top: 24px;
    font-weight: 400;
    
}

main div.stats div.stats-data div.data span.counter {
    font-size: 2.5em;
    font-weight: 600;
    color: #009e3d;
}

main div.stats div.stats-data div.data h3 {
    padding-top: 8px;
}


/* ---- 公益服务入口 ---- */
main div.service {
    margin: 48px 0;
    text-align: center;
}

main div.service h1 {
    color: #009e3d;
}

main div.service ul {
    display: flex;
    justify-content: space-between;
    margin: 24px 0 0;
    width: 100%;
}

main div.service ul li {
    display: flex;
    justify-content: center;
    width: 24%;
    height: 196px;
    border-radius: 8px;
    background: #000;
    overflow: hidden;
}

main div.service ul li:hover h2 {
    padding-bottom: 8px;
    transform: translateY(-80%);
    color: #FFED00;
    border-bottom: solid 4px #FFED00;
}

main div.service ul li:hover p {
    transform: translateY(-48%);
}

main div.service ul li:hover div.service-img img {
    transform: scale(1.2);
}

main div.service ul li:hover div.service-img a {
    background: rgba(0, 0, 0, .8);
    transition: .24s;
}

main div.service ul li h2, div.service ul li p {
    position: absolute;
    z-index: 10;
    color: #fff;
    text-shadow: 0 4px 8px rgba(0, 0, 0, .8);
    transition: .24s;
}

main div.service ul li h2 {
    margin-top: 88px;
    font-weight: 600;
}

main div.service ul li p {
    margin-top: 120px;
    font-weight: 500;
}

main div.service ul li div.service-img {
    display: flex;
    position: relative;
}

main div.service ul li div.service-img img {
    width: 100%;
    transition: .24s;
}

main div.service ul li div.service-img a {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .24);
}